//定义接口限制

// 这个是根据请求返回的的内容写的接口限制 


// 底部 tabbar 的选项类型
export interface MyTabbaryItem {
  id: number,
  to: string,
  icon: string,
  title?: string
}

//轮播图的接口
export interface MyBannerItem{
  img: string , 
  link:string,
  flag?:boolean,
  bannerid:string
}

//秒杀的接口
type MyIsSale = 0|1
export interface MyMiaoSaItem{
 readonly proid: string,  //商品id
img1: string ,
img2: string,
img3: string,
img4: string,
sales: string ,   //价格
proname: string  //  产品信息
originprice:number
category:string
brand:string
issale:MyIsSale
discount:number
desc:string
isseckill:string
num:number
cartid:any
flag:boolean

}

//热门搜索
export interface MyHotSearchitem {
  readonly wordid: string , 
  num: string,
  keyword?:string
}

// 分类商品自定义数组的接口
export interface MyCateBrandGoodsItem {
  cat: string,
  brand: string,
  list: MyMiaoSaItem[]    //
}
